package com.simple.portal.dao;

import java.util.List;

import com.simple.portal.vo.GroupRightRelVO;

public interface IGroupRightRelDAO {
	
	GroupRightRelVO findById(final String id);
    
    void save(final GroupRightRelVO groupRightRelVO,final String operator);
    
    void update(final GroupRightRelVO groupRightRelVO,final String type,final String operator);

    List<GroupRightRelVO> findAll();

    void delete(final GroupRightRelVO groupRightRelVO,final String operator);
    
    void delete(final String id,final String operator);
    
    List <GroupRightRelVO> findAllByGroupIdAndRightFlag(String groupId, String rightFlag);
}
